package com.fenghongzhang.kotlin1903.mvp.view

import android.os.Bundle
import android.os.Parcel
import android.os.Parcelable
import android.os.PersistableBundle
import androidx.appcompat.app.AppCompatActivity
import com.fenghongzhang.kotlin1903.mvp.presenter.IPresenter

abstract class BaseActivity<P:IPresenter> : AppCompatActivity() ,IActivity,IView {

    lateinit var p: P

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(bindLayout())
        initView()
        initData()
    }

    override fun showDialog() {

    }

    override fun hideDialog() {
    }



}